// 导入axios实例对象request
import request from '@/util/request.js'

// 创建并抛出AssignRrolesListsAPI接口
export const AssignRrolesListsAPI = (id, roleId) => {
  return request.put(`users/${id}/role`, { rid: roleId })
}
